home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 26
/
Cream of the Crop 26.iso
/
os2
/
timidsrc.zip
/
my.pl
< prev
next >
Wrap
Text File
|
1996-05-21
|
397b
|
18 lines
while (<>)
{
if (m/^[\ ]*([A-Z0-9_]+)[\ ]*\+=[\ ]*(.*)/) {
$identitifier{$1} = $identitifier{$1} . " " . $2;
} else { $slurp[$#slurp + 1]=$_; }
}
print "# This Makefile has been mangled by a very rickety perl script.\n";
print "# Combined += 's: \n";
while (($a,$b,%identitifier)=%identitifier) {
print $a, " = ", $b, "\n";
}
print "# The rest of the Makefile: \n";
print @slurp;